Creating a Managed Code Application

The IntervalZero.RTX.dll provides the ability for a Windows application to link in features that will allow it to communicate with RTX real-time applications. Create a managed code application that includes real-time communication attributes as follows:

Steps:

  1. Create a new Visual Studio project as you normally would (i.e. by selecting to begin a C# Console Application).
  2. Add the IntervalZero RTX DLL.
  3. Right-click References to display a pop-up menu and then select Add Reference...
  4. Find and highlight IntervalZero.RTX.dll in the list of DLLs available from the .NET tab.
    1. NOTE:   If you cannot find IntervalZero.RTX.dll in the .NET list, browse for it at <RTXSDKDIR>/assemblies.

  5. Add a statement for any RTX namespaces that you will use, such as:
    1. using RTX;

      using RTX.Threading;

      using RTX.Runtime;

  6. Click OK to save the new reference.
  7. Include a call to RtssEnvironment.InitializeRtxLibrary() before creating any new threads.

 

See Also

IntervalZero.com | Support | Give Feedback